#!/bin/bash
ip=`curl "http://checkip.dyndns.org/" 2>/dev/null | awk '{print $6}'|cut -d '<' -f1`
touch ip.txt
echo $ip >> ip.txt
upload ip.txt
rm -f ip.txt
exit
